<?php
namespace app\index\validate;

use app\common\entity\UserInviteCode;
use app\index\model\SendCode;
use app\index\model\SendMail;
use think\Validate;

class Complaint extends Validate
{
    protected $rule = [
        'content' => 'require',
        'pic' => 'require',
        'mobile'=>'require',
        'name'=>'require',
    ];

    protected $message = [
        'content.require' => '文字描述不能为空',
        'pic.require' => '图片不能为空',
        'mobile.require' => '手机号不能为空',
        'name.require' => '姓名不能为空',
    ];

}